Muchat\Api\Models\Product D

Total Complexity 140
Dependencies 3
Dependents 2
Total lines 857
Lines of code 555
Logical lines of code 333
Comment lines 172
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
format_product()
C
35 25 78
get_meta_field_label()
B
36 19 83
get_product_meta_fields()
B
36 18 87
format_meta_data()
A
46 14 38
get_products()
A
38 10 68
get_product_variations()
A
48 8 34
get_meta_sample_values()
S
51 6 28
get_product_images()
S
56 6 20
convert_complex_data_to_displayable()
S
57 6 18
get_product_attributes()
S
56 5 16
get_product_ids()
S
51 3 27
get_taxonomy_terms()
S
63 4 10
get_meta_display_name()
S
63 4 10
get_variation_attributes()
S
60 3 13
get_variation_image()
S
67 3 8
get_product()
S
68 3 7
is_json()
S
65 3 10